package com.heatup.apt.model.user;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 用户信息表:
我们现在只有两个会员等级
 *
 */
@TableName("user_info")
public class UserInfo implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/** 门店id */
	@TableField(value = "user_name")
	private String userName;

	/** 登录密码 */
	@TableField(value = "user_pwd")
	private String userPwd;

	/** 账户剩余金额 */
	@TableField(value = "account_amt")
	private BigDecimal accountAmt;

	/** 微信昵称 */
	@TableField(value = "nick_name")
	private String nickName;

	/** 头像 */
	@TableField(value = "head_img")
	private String headImg;

	/** 性别(1男2女) */
	private String gender;

	/** 身份证号码 */
	@TableField(value = "id_card")
	private String idCard;

	/** 手机号码 */
	private String mobile;

	/** 微信 */
	private String weixin;

	/** 微信openid */
	private String openid;

	/** 个性签名 */
	private String sign;

	/** 令牌 */
	private String token;

	/** 会员等级（1普通用户，2檬会员） */
	private Integer level;

	/** 会员开始时间 */
	@TableField(value = "vip_start_time")
	private Date vipStartTime;

	/** 会员结束时间 */
	@TableField(value = "vip_end_time")
	private Date vipEndTime;

	/** 录入人 */
	@TableField(value = "created_by")
	private Integer createdBy;

	/** 录入时间 */
	@TableField(value = "created_time")
	private Date createdTime;

	/** 更新人 */
	@TableField(value = "updated_by")
	private Integer updatedBy;

	/** 更新时间 */
	@TableField(value = "updated_time")
	private Date updatedTime;

	/** 版本号 */
	private Integer version;

	/** 邀请人的userid */
	@TableField(value = "inviter_userid")
	private Integer inviterUserid;

	/** 1:用户已关注公众号。0.未关注。 */
	private Integer subscribe;


	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPwd() {
		return this.userPwd;
	}

	public void setUserPwd(String userPwd) {
		this.userPwd = userPwd;
	}

	public BigDecimal getAccountAmt() {
		return this.accountAmt;
	}

	public void setAccountAmt(BigDecimal accountAmt) {
		this.accountAmt = accountAmt;
	}

	public String getNickName() {
		return this.nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getHeadImg() {
		return this.headImg;
	}

	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}

	public String getGender() {
		return this.gender;
	}

	public void setGender(String gender) {
		this.gender = gender;
	}

	public String getIdCard() {
		return this.idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getWeixin() {
		return this.weixin;
	}

	public void setWeixin(String weixin) {
		this.weixin = weixin;
	}

	public String getOpenid() {
		return this.openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getSign() {
		return this.sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	public String getToken() {
		return this.token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public Integer getLevel() {
		return this.level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Date getVipStartTime() {
		return this.vipStartTime;
	}

	public void setVipStartTime(Date vipStartTime) {
		this.vipStartTime = vipStartTime;
	}

	public Date getVipEndTime() {
		return this.vipEndTime;
	}

	public void setVipEndTime(Date vipEndTime) {
		this.vipEndTime = vipEndTime;
	}

	public Integer getCreatedBy() {
		return this.createdBy;
	}

	public void setCreatedBy(Integer createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreatedTime() {
		return this.createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public Integer getUpdatedBy() {
		return this.updatedBy;
	}

	public void setUpdatedBy(Integer updatedBy) {
		this.updatedBy = updatedBy;
	}

	public Date getUpdatedTime() {
		return this.updatedTime;
	}

	public void setUpdatedTime(Date updatedTime) {
		this.updatedTime = updatedTime;
	}

	public Integer getVersion() {
		return this.version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public Integer getInviterUserid() {
		return this.inviterUserid;
	}

	public void setInviterUserid(Integer inviterUserid) {
		this.inviterUserid = inviterUserid;
	}

	public Integer getSubscribe() {
		return this.subscribe;
	}

	public void setSubscribe(Integer subscribe) {
		this.subscribe = subscribe;
	}


}
